import 'babel-polyfill'
import React from 'react'
import ReactDOM from 'react-dom'
import {
    BrowserRouter as Router,
    Route,
    Link,
    Redirect,
    withRouter
} from "react-router-dom"
import "../style/less/sign.less"
import LoginIndex from "./apps/sign/loginIndex"
import RegisterIndex from "./apps/sign/registerIndex"

const mountNode = document.getElementById('sign-main')

class App extends React.Component {
    constructor() {
        super()
    }
    render() {
        return (
            <div className="sign-body">
                <Route path="/sign/login" component={LoginIndex} />
                <Route path="/sign/register" component={RegisterIndex} />
            </div>
        )
    }
}

ReactDOM.render(<Router><App /></Router>, mountNode)

